package com.hontech.pastacooking.net

import com.hontech.pastacooking.app.MacAddr
import com.hontech.pastacooking.app.Version
import kotlinx.serialization.SerialName


@kotlinx.serialization.Serializable
class ConnectReq(

    @SerialName("mac_addr")
    val macAddr: String = MacAddr,

    val version: String = Version
)

@kotlinx.serialization.Serializable
class ConnectRes(
    val id: Int,

    @SerialName("mac_addr")
    val macAddr: String,

    val version: String,

    val name: String
)

@kotlinx.serialization.Serializable
class OrderReq(
    val msg: String,
    val duration: Long
)


















